\hypertarget{group__sampling}{
\section{\-Sampling}
\label{group__sampling}\index{\-Sampling@{\-Sampling}}
}
\subsection*{\-Classes}
\begin{DoxyCompactItemize}
\item 
struct \hyperlink{structnih_1_1_sample__vector}{nih\-::\-Sample\-\_\-vector$<$ Iterator $>$}
\item 
struct \hyperlink{structnih_1_1_sampler}{nih\-::\-Sampler}
\item 
struct \hyperlink{structnih_1_1_m_j_sampler}{nih\-::\-M\-J\-Sampler}
\item 
class \hyperlink{classnih_1_1_sample__combiner}{nih\-::\-Sample\-\_\-combiner$<$ Image\-\_\-type $>$}
\item 
class \hyperlink{classnih_1_1_sample__layer}{nih\-::\-Sample\-\_\-layer$<$ Image\-\_\-type1, Image\-\_\-type2 $>$}
\item 
class \hyperlink{classnih_1_1_sample__window}{nih\-::\-Sample\-\_\-window$<$ Image\-\_\-type $>$}
\item 
struct \hyperlink{structnih_1_1_sample__transformation}{nih\-::\-Sample\-\_\-transformation}
\end{DoxyCompactItemize}
\subsection*{\-Modules}
\begin{DoxyCompactItemize}
\item 
\hyperlink{group__cp__rotations}{\-Cranley-\/\-Patterson Rotations}
\item 
\hyperlink{group__distributions}{\-Distributions}
\item 
\hyperlink{group__permutations}{\-Permutations}
\item 
\hyperlink{group__processes}{\-Stochastic Processes}
\item 
\hyperlink{group__random}{\-Random Sequences}
\item 
\hyperlink{group__sobol}{\-Sobol Sequences}
\item 
\hyperlink{group__weyl}{\-Weyl Sequences}
\end{DoxyCompactItemize}
\subsection*{\-Functions}
\begin{DoxyCompactItemize}
\item 
uint32 \hyperlink{group__sampling_ga7f85d8d007bbaa744e558171b0064b8e}{nih\-::sample\-\_\-cdf} (const float x, const std\-::vector$<$ float $>$ \&cdf, float \&pdf)
\item 
uint32 \hyperlink{group__sampling_gae3dbf9f72ee99070878574ef9543785e}{nih\-::sample\-\_\-cdf} (const float x, const uint32 n, const float $\ast$cdf, float \&pdf)
\item 
float \hyperlink{group__sampling_ga2ba33066ab272bd8b90be1046198a124}{nih\-::sample\-\_\-cdf\-\_\-cont} (const float x, const std\-::vector$<$ float $>$ \&cdf, float \&pdf)
\end{DoxyCompactItemize}


\subsection{\-Function \-Documentation}
\hypertarget{group__sampling_ga7f85d8d007bbaa744e558171b0064b8e}{
\index{\-Sampling@{\-Sampling}!sample\-\_\-cdf@{sample\-\_\-cdf}}
\index{sample\-\_\-cdf@{sample\-\_\-cdf}!Sampling@{\-Sampling}}
\subsubsection[{sample\-\_\-cdf}]{\setlength{\rightskip}{0pt plus 5cm}uint32 nih\-::sample\-\_\-cdf (
\begin{DoxyParamCaption}
\item[{const float}]{x, }
\item[{const std\-::vector$<$ float $>$ \&}]{cdf, }
\item[{float \&}]{pdf}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{group__sampling_ga7f85d8d007bbaa744e558171b0064b8e}
sample a cdf


\begin{DoxyParams}{\-Parameters}
{\em x} & input value \\
\hline
{\em cdf} & cdf to sample from \\
\hline
{\em pdf} & output pdf \\
\hline
\end{DoxyParams}
\hypertarget{group__sampling_gae3dbf9f72ee99070878574ef9543785e}{
\index{\-Sampling@{\-Sampling}!sample\-\_\-cdf@{sample\-\_\-cdf}}
\index{sample\-\_\-cdf@{sample\-\_\-cdf}!Sampling@{\-Sampling}}
\subsubsection[{sample\-\_\-cdf}]{\setlength{\rightskip}{0pt plus 5cm}uint32 nih\-::sample\-\_\-cdf (
\begin{DoxyParamCaption}
\item[{const float}]{x, }
\item[{const uint32}]{n, }
\item[{const float $\ast$}]{cdf, }
\item[{float \&}]{pdf}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{group__sampling_gae3dbf9f72ee99070878574ef9543785e}
sample a cdf


\begin{DoxyParams}{\-Parameters}
{\em x} & input value \\
\hline
{\em cdf} & cdf to sample from \\
\hline
{\em pdf} & output pdf \\
\hline
\end{DoxyParams}
\hypertarget{group__sampling_ga2ba33066ab272bd8b90be1046198a124}{
\index{\-Sampling@{\-Sampling}!sample\-\_\-cdf\-\_\-cont@{sample\-\_\-cdf\-\_\-cont}}
\index{sample\-\_\-cdf\-\_\-cont@{sample\-\_\-cdf\-\_\-cont}!Sampling@{\-Sampling}}
\subsubsection[{sample\-\_\-cdf\-\_\-cont}]{\setlength{\rightskip}{0pt plus 5cm}float nih\-::sample\-\_\-cdf\-\_\-cont (
\begin{DoxyParamCaption}
\item[{const float}]{x, }
\item[{const std\-::vector$<$ float $>$ \&}]{cdf, }
\item[{float \&}]{pdf}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{group__sampling_ga2ba33066ab272bd8b90be1046198a124}
sample a cdf with continuous uniform distribution inside the bins


\begin{DoxyParams}{\-Parameters}
{\em x} & input value \\
\hline
{\em cdf} & cdf to sample from \\
\hline
{\em pdf} & output pdf \\
\hline
\end{DoxyParams}
